package com.ec50n9.server.module.comment

import com.ec50n9.server.module.common.BaseService
import org.springframework.data.repository.PagingAndSortingRepository
import org.springframework.stereotype.Service

interface CommentRepository : PagingAndSortingRepository<Comment, String>

@Service
class CommentService(commentRepository: CommentRepository) :
    BaseService<Comment, String>("评论", commentRepository)
